<?php
    $d_id = $_REQUEST["d_id"];
    $con=mysqli_connect("localhost","root","","hhuy");
    // Check connection
    if (mysqli_connect_errno())
    {
        echo "Failed to connect to MySQL: " . mysqli_connect_error();
        die();
    }
    
    $d = mysqli_query($con,"SELECT * FROM english_dialogue WHERE id = 1");
    $d_r = mysqli_fetch_array($d);
    mysqli_close($con);
    
    echo $d_r['dialogue_translate'];
    
    
?>
